package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.WaiMaiRunfastCuserMapper;
import com.runfast.waimai.dao.model.WaiMaiRunfastCuser;
import com.runfast.waimai.dao.model.WaiMaiRunfastCuserExample;
import com.runfast.waimai.service.WaiMaiRunfastCuserService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class WaiMaiRunfastCuserServiceImpl extends BaseService<WaiMaiRunfastCuser, Integer, WaiMaiRunfastCuserExample> implements WaiMaiRunfastCuserService {
    public List<WaiMaiRunfastCuser> selectGoodsByExampleWithPageable(Map map){
        WaiMaiRunfastCuserMapper waiMaiRunfastCuserMapper=(WaiMaiRunfastCuserMapper)this.mapper;
        return waiMaiRunfastCuserMapper.selectGoodsByExampleWithPageable(map);
    }
    public Integer countGoodsByExample(Map map){
        WaiMaiRunfastCuserMapper waiMaiRunfastCuserMapper=(WaiMaiRunfastCuserMapper)this.mapper;
        return waiMaiRunfastCuserMapper.countGoodsByExample(map);
    }

    public List<WaiMaiRunfastCuser>  selectByMapWithPageable(Map<Object,Object> map){
        WaiMaiRunfastCuserMapper waiMaiRunfastCuserMapper=(WaiMaiRunfastCuserMapper)this.mapper;
        return waiMaiRunfastCuserMapper.selectByMapWithPageable(map);
    }
    public Integer countByMap(Map<Object,Object> map){
        WaiMaiRunfastCuserMapper waiMaiRunfastCuserMapper=(WaiMaiRunfastCuserMapper)this.mapper;
        return waiMaiRunfastCuserMapper.countByMap(map);
    }
}